package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.TravelCommend;
import cn.wolfcode.luowowo.common.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ITravelCommendService {
    PageInfo query(QueryObject qo);

    List<TravelCommend> selectAll();

    TravelCommend selectByPrimaryKey(Long id);

    void save(TravelCommend travelCommend);

    void update(TravelCommend travelCommend);

    List<TravelCommend> listTop5();
}
